home *** CD-ROM | disk | FTP | other *** search
/ CD Exchange / CD Exchange - Volume 1.iso / games / pd / chess / src.lha / src / amiga / pointer.c < prev    next >
C/C++ Source or Header  |  1992-09-05  |  537b  |  34 lines

  1. #include <exec/types.h>
  2.  
  3. static USHORT __chip ToPointerData[] = 
  4.    {
  5.    0x0000, 0x0000, /* position control */
  6.  
  7.    0x0000, 0x0100,
  8.    0x0100, 0x0280,
  9.    0x0000, 0x0100,
  10.    0xfc78, 0xfc78,
  11.    0xfefc, 0x80c0,
  12.    0x7efe, 0x0180,
  13.    0x38ee, 0x2799,
  14.    0x38ee, 0x2499,
  15.    0x38fe, 0x2499,
  16.    0x387e, 0x2401,
  17.    0x183c, 0x0403,
  18.    0x0000, 0x0c1e,
  19.  
  20.    0x0000, 0x0000 /* next sprite field */
  21.    };
  22.  
  23. void
  24. SetToPointer(struct Window *w)
  25. {
  26.     SetPointer(w, ToPointerData, 12, 16, -7, -1);
  27. }
  28.  
  29. void
  30. ClrToPointer(struct Window *w)
  31. {
  32.     ClearPointer(w);
  33. }
  34.